package com.personal.modules.sys.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.personal.modules.sys.dao.TSysLogDao;
import com.personal.modules.sys.entity.TSysLogEntity;
import com.personal.modules.sys.service.TSysLogService;



@Service("tSysLogService")
public class TSysLogServiceImpl implements TSysLogService {
	@Autowired
	private TSysLogDao tSysLogDao;
	
	@Override
	public TSysLogEntity queryObject(Long id){
		return tSysLogDao.queryObject(id);
	}
	
	@Override
	public List<TSysLogEntity> queryList(Map<String, Object> map){
		return tSysLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tSysLogDao.queryTotal(map);
	}
	
	@Override
	public void save(TSysLogEntity tSysLog){
		tSysLogDao.save(tSysLog);
	}
	
	@Override
	public void update(TSysLogEntity tSysLog){
		tSysLogDao.update(tSysLog);
	}
	
	@Override
	public void delete(Long id){
		tSysLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		tSysLogDao.deleteBatch(ids);
	}
	
}
